#include <iostream>
#include <cassert>

using namespace std;

/*
class Array{
public:
    int& operator[](int i){
        assert(i < 10);
        return _a[i];
    }
    const int& operator[](int i) const{
        assert(i < 10);
        return _a[i];
    }
private:
    int _a[10];
    int _size;
};

void Func(const Array& aa){
    for (int i = 0; i < 10; ++i) {
        cout << aa[i] << " ";
    }
}

int main() {
    Array a;
*/
/*    for (int i = 0; i < 10; ++i) {
        a._a[i] = i;
    }
    for (int i = 0; i < 10; ++i) {
        cout << a._a[i] << " ";
    }*//*

    for (int i = 0; i < 10; ++i) {
        a[i] = i;
    }
    for (int i = 0; i < 10; ++i) {
        cout << a[i] << " ";
    }
    cout << endl;
    Func(a);
    return 0;
}
*/

/*
class Date
{
public:
    Date(int year, int month, int day)
    {
        _year = year;
        _month = month;
        _day = day;
    }
*/
/*    void Print()
    {
        cout << "Print()" << endl;
        cout << "year:" << _year << endl;
        cout << "month:" << _month << endl;
        cout << "day:" << _day << endl << endl;
    }*//*

    void Print() const
    {
        cout << "Print()const" << endl;
        cout << "year:" << _year << endl;
        cout << "month:" << _month << endl;
        cout << "day:" << _day << endl << endl;
    }
private:
    int _year;
    int _month;
    int _day;
};
void Test()
{
    Date d1(2022,1,13);
    d1.Print();
    const Date d2(2022,1,13);
    d2.Print();
}

int main(){
    Test();
    return 0;
}
*/

class A{
public:
    A()
    :_x(1)
    ,_a2(1){
        _a1++;
        _a2--;
    }
private:
    int _a1 = 1;
    int _a2 = 2;
    const int _x;
};

int main(){
    A aa;
    return 0;
}